	#set ( $thispath= "$!request.getContextPath()/admin" ) #set (
	$thiscontextpath= "$!request.getContextPath()" )
<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd">
<html>
<head>
<title>Admin</title>
<META http-equiv=Content-Type content="text/html; charset=UTF-8">
	<style media="all" type="text/css">
@import "$thispath/css/all.css";
</style>
</head>
<script type="text/javascript"
	src="$thispath/ckfinder/ckfinder.js">
</script>
<body>
	<div id="main">
		<div id="header">
			<a href="index.html" class="logo"><img src="$thispath/img/logo.gif"
				width="101" height="29" alt="" /> </a>
			<ul id="top-navigation">
				<li><span><span>管理首页</span> </span></li>
				<li><span><span><a href="$thispath/channel">内容管理</a> </span> </span></li>
				<li><span><span><a href="$thispath/order">订单管理</a> </span> </span></li>
				<li><span><span><a href="$thispath/goods">商品管理</a> </span> </span></li>
				 
				<li><span><span><a href="$thispath/basemdm">主数据管理</a> </span> </span></li>
				<li class="active"><span><span><a
							href="$thispath/shopconfig">系统管理</a> </span> </span></li>
				 
			</ul>
		</div>
		<div id="middle">
			<div id="left-column">
				<h3>Header</h3>
				<ul class="nav">
					<li><a href="http://down.liehuo.net">Lorem Ipsum dollar</a></li>

				</ul>

				<a href="#" class="link">Link here</a>
			</div>






			<style type="text/css">
.nTab {
	float: left;
	width: 100%;
	margin: 0 auto;
	border-bottom: 1px #AACCEE solid;
	background: #d5d5d5;
	background-position: left;
	background-repeat: repeat-y;
	margin-bottom: 2px;
}

.nTab .TabTitle {
	clear: both;
	height: 30px;
	overflow: hidden;
}

.nTab .TabTitle ul {
	border: 0;
	margin: 0;
	padding: 0;
}

.nTab .TabTitle li {
	float: left;
	width: 120px;
	height: 30px;
	cursor: pointer;
	padding-top: 4px;
	padding-right: 0px;
	padding-left: 0px;
	padding-bottom: 2px;
	list-style-type: none;
	font-size: 12px;
	text-align: center;
	margin: 0;
}

.nTab .TabTitle .active {
	background: #fff;
	border-left: 1px #AACCEE solid;
	border-top: 1px #AACCEE solid;
	border-right: 1px #AACCEE solid;
	border-bottom: 1px #fff solid;
}

.nTab .TabTitle .normal {
	background: #ECEFE7;
	border: 1px #AACCEE solid;
}

.nTab .TabContent {
	width: auto;
	background: #fff;
	margin: 0px auto;
	padding: 10px 0 0 0;
	border-right: 1px #AACCEE solid;
	border-left: 1px #AACCEE solid;
}

.none {
	display: none;
}
</style>
			<script type="text/javascript">
				function nTabs(thisObj, Num) {
					if (thisObj.className == "active")
						return;
					var tabObj = thisObj.parentNode.id;
					var tabList = document.getElementById(tabObj)
							.getElementsByTagName("li");
					for (i = 0; i < tabList.length; i++) {
						if (i == Num) {
							thisObj.className = "active";
							document.getElementById(tabObj + "_Content" + i).style.display = "block";
						} else {
							tabList[i].className = "normal";
							document.getElementById(tabObj + "_Content" + i).style.display = "none";
						}
					}
				}
			</script>

			<div id="center-column">
				<div class="top-bar">

					<h1>
						<strong>商城配置</strong>
					</h1>

				</div>
				<br />
				<div class="select-bar"></div>
				<div class="table">
					<div class="nTab" style="width: 613px">
						<!-- 标题开始 -->
						<div class="TabTitle">
							<ul id="myTab1">
								<li class="active" onclick="nTabs(this,0);">商城基本信息配置</li>
								<li class="normal" onclick="nTabs(this,1);">显示设置</li>
	

							</ul>
						</div>
						<!-- 内容开始 -->
						<div class="TabContent">
							<div id="myTab1_Content0">
								<form name="addshopConfig" id="addshopConfig" method="post"
									action="shopconfig/save">
									<table class="listing form" cellpadding="0" cellspacing="0">
										<input type="hidden" name="shopConfigId"
											value="$!{shopconfig.shopConfigId}" />
										<tr>
											<td class="first""><strong>商城名称</strong></td>
											<td class="last"><INPUT type="text" class=text
												name=shopName value="$!{shopconfig.shopName}"></td>
										</tr>
										<tr>
											<td class="first""><strong>商城标题</strong></td>
											<td class="last"><INPUT type="text" class=text
												name=shopTitle value="$!{shopconfig.shopTitle}"></td>
										</tr>
										<tr>
											<td class="first""><strong>商城关键字</strong></td>
											<td class="last"><INPUT type="text" class=text
												name=shopKeyword value="$!{shopconfig.shopKeyword}"></td>
										</tr>
										<tr>
											<td class="first""><strong>QQ</strong></td>
											<td class="last"><INPUT type="text" class=text
												name=shopQq value="$!{shopconfig.shopQq}"></td>
										</tr>
										<tr>
											<td class="first""><strong>旺旺</strong></td>
											<td class="last"><INPUT type="text" class=text
												name=shopWangwang value="$!{shopconfig.shopWangwang}"></td>
										</tr>
										<tr>
											<td class="first""><strong>MSN</strong></td>
											<td class="last"><INPUT type="text" class=text
												name=shopMsn value="$!{shopconfig.shopMsn}"></td>
										</tr>
									 
										
											<tr>
							<td class="first"">
								<strong>商城Logo</strong>
							</td>
							<td class="last">
								<input id="shopLogo" name="shopLogo" type="text" size=40 value="$!{shopconfig.shopLogo}"/>
								<input type="button" value="浏览图片"
									onclick="BrowseServer( 'shopLogo' );" />
							</td>
						</tr>
						
						
						
										<tr>
											<td class="first""><strong>商城备案号</strong></td>
											<td class="last"><INPUT type="text" class=text
												name=shopBeian value="$!{shopconfig.shopBeian}"></td>
										</tr>
										<tr>
											<td class="first""><strong>商城地址</strong></td>
											<td class="last"><INPUT type="text" class=text
												name=shopAddr value="$!{shopconfig.shopAddr}"></td>
										</tr>
										<tr>
											<td class="first""><strong>商城公司全称</strong></td>
											<td class="last"><INPUT type="text" class=text
												name=shopCompanyName value="$!{shopconfig.shopCompanyName}"></td>
										</tr>
									</table>
							</div>
							<div id="myTab1_Content1" class="none">111111111111111</div>


							<tr>
								<td><input type="submit" value="保 存" /></td>
							</tr>
							</form>

						</div>
					</div>

				</div>
			</div>

		</div>
		<div id="footer"></div>
	</div>


</body>
</html>
<script type="text/javascript">

function BrowseServer(inputId) {
	var finder = new CKFinder();
	finder.basePath = '../ckfinder/'; //导入CKFinder的路径
	finder.selectActionFunction = SetFileField; //设置文件被选中时的函数
	finder.selectActionData = inputId; //接收地址的input ID
	finder.popup();
}

//文件选中时执行
function SetFileField(fileUrl, data) {
	document.getElementById(data["selectActionData"]).value = fileUrl;
}
</script>